package appapi.Vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;


@ApiModel(description = "告警数趋势 实体类")
@Data
public class AlarmCountByDayVO {


    /**
     * 总告警数
     */
    @ApiModelProperty(value = "总告警数")
    private Integer total;

    /**
     * 日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd ")
    @JsonFormat(pattern = "yyyy-MM-dd ")
    @ApiModelProperty(value = "日期")
    private LocalDate day;
}
